import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/old',
    name: 'map',
    component: () => import('../views-demo/demo-nmgfgw/Demo-NmgMap.vue')
  },{
    path: '/',
    name: 'new',
    component: () => import('../views-demo/demo-nmgfgw/Demo-NmgMap-New.vue')
  },{
    path: '/china-map',
    name: 'china',
    component: () => import('../views-demo/demo-nmgfgw/demo-map-china.vue')
  },{
    path: '/detail',
    name: 'detail',
    component: () => import('../views-demo/demo-nmgfgw/demo-table.vue')
  },{
    path: '/sum-detail',
    name: 'SumDetail',
    component: () => import('../views-demo/demo-nmgfgw/demo-table-area.vue')
  },
  {
    path: '/img-video',
    name: 'img-video',
    component: () => import('../views-demo/demo-nmgfgw/demo-img-video.vue')
  },{
    path: '/tab-img-video',
    name: 'tab-img-video',
    component: () => import('../views-demo/demo-nmgfgw/demo-table-img-video.vue')
  },
  {
    path: '/baidu-map',
    name: 'baidu-map',
    component: () => import('../views-demo/demo-baidumap/demo-baidumap.vue')
  },
  {
    path: '/impExcel',
    name: 'ImgExcel',
    component: () => import('../views/Operation-Excel.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
